//
//  FourTableViewCell.m
//  bh
//
//  Created by lanou on 15/12/21.
//  Copyright © 2015年 lanou. All rights reserved.
//

#import "FourTableViewCell.h"

@implementation FourTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
     
        _pictureView = [[UIImageView alloc]initWithFrame:(CGRectMake(5, 0, 60, 60))];
        
        [_pictureView setImage:[UIImage imageNamed:@"ic_blank_collect@3x.png"]];
        
        _pictureView.layer.masksToBounds = YES;
        _pictureView.layer.borderWidth = 2;
        _pictureView.layer.cornerRadius = _pictureView.bounds.size.width / 2;
        _pictureView.layer.borderColor = [UIColor clearColor].CGColor;
        
        
        
        [self.contentView addSubview:_pictureView];
        _textField = [[UITextField alloc]initWithFrame:(CGRectMake(70, 5, 200, 40))];
        _textField.placeholder = @"添加评论";
        _textField.borderStyle = UITextBorderStyleRoundedRect;
        [self.contentView addSubview:_textField];
        
        
    }
    return self;
}





- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
